package alibobo.util.db.datasource.support;

import alibobo.util.db.datasource.PvDatasource;

public class MSSQLDatasource extends PvDatasource {

	public void Init(String hostNameOrIp, String db) {
		String url = "jdbc:jtds:sqlserver://%1$s/%2$s;TDS=8.0";
		url = String.format(url, hostNameOrIp, db);
		this.setDriverClassName("net.sourceforge.jtds.jdbc.Driver");
		this.setUsername("sa");
		this.setPassword("mn141319");
		this.setUrl(url);

	}

}
